package com.xyht.sca_s.student_manage_system.modules.schoolEditor.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2022-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_school_editor")
@ApiModel(value="SmsSchoolEditor对象", description="校园编辑")
public class SmsSchoolEditor implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "学校名称")
    private String schoolName;

    @ApiModelProperty(value = "学校地址")
    private String schoolAddress;

    @ApiModelProperty(value = "logo	")
    private String logo;

    @ApiModelProperty(value = "置灰按钮：0：是；1：否")
    private String grayButton;

    @ApiModelProperty(value = "学校简介")
    private String schoolProfile;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "逻辑：0：否；1：是")
    @TableLogic
    private Integer isDeleted;
}
